package Pet;

abstract class Dog implements Pet{
	private String pno;
	private String name;
	private String color;
	private int age;
	private int price;
	public Dog(){
		
	}
	public Dog(String pno,String name,String color,int age,int price){
		this.pno=pno;
		this.name=name;
		this.color=color;
		this.age=age;
		this.price=price;
	}
	public String getPno() {
		return pno;
	}
	public void setPno(String pno) {
		this.pno = pno;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public abstract String toString();
}
